installer: $(OUTDIR)/install-willows $(OUTDIR)/chroot-willows

$(OUTDIR)/install-willows: $(OUTDIR)
	echo "#!/bin/bash" > $(OUTDIR)/install-willows
	cat src/installer/libwillows.sh >> $(OUTDIR)/install-willows
	echo "VERSION=$(VERSION)" >> $(OUTDIR)/install-willows
	cat src/installer/install-willows.sh >> $(OUTDIR)/install-willows
	chmod +x $(OUTDIR)/install-willows

$(OUTDIR)/chroot-willows: $(OUTDIR)
	echo "#!/bin/bash" > $(OUTDIR)/chroot-willows
	cat src/installer/libwillows.sh >> $(OUTDIR)/chroot-willows
	echo "VERSION=$(VERSION)" >> $(OUTDIR)/chroot-willows
	cat src/installer/chroot-willows.sh >> $(OUTDIR)/chroot-willows
	chmod +x $(OUTDIR)/chroot-willows

